package com.epam.DAO.Factories;

import com.epam.DAO.BillDAO;
import com.epam.DAO.CarDAO;
import com.epam.DAO.ClientDAO;
import com.epam.DAO.RequestDAO;
import com.epam.DAO.UserDAO;
import com.epam.DAO.JPA.BillDAOJPA;
import com.epam.DAO.JPA.CarDAOJPA;
import com.epam.DAO.JPA.ClientDAOJPA;
import com.epam.DAO.JPA.RequestDAOJPA;
import com.epam.DAO.JPA.UserDAOJPA;

public class JPADAOFactory extends DAOFactory {

	@Override
	public BillDAO getBillDAO() {
		return new BillDAOJPA();
	}

	@Override
	public CarDAO getCarDAO() {
		return new CarDAOJPA();
	}

	@Override
	public ClientDAO getClientDAO() {
		return new ClientDAOJPA();
	}

	@Override
	public RequestDAO getRequestDAO() {	
		return new RequestDAOJPA();
	}

	@Override
	public UserDAO getUserDAO() {
		return new UserDAOJPA();
	}

}
